package com.redis.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Author: Li
 * @Date: 2024/12/17 16:24
 * @Description: 用户购票信息，记录用户id和演唱会id
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Ticket {
    // 主键
    private Integer tid;
    // 用户id
    private Integer uid;
    // 演唱会id
    private Integer cid;
    // 购买时间
    private Date purchaseDate;
}
